package com.heima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.pojo.entity.User;
import com.heima.pojo.vo.UserInfoVO;
import com.heima.pojo.vo.UserVO;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

    /*
    * 查询用户列表
    * */
    List<UserVO> pageResult(String userName);

    UserInfoVO getVoById(Integer userId);
}
